{% extends "layout.html" %}

{% block css_m %}

{% endblock %}
{% block js_m %}

{% endblock %}

{% block content_body %}
<div class="page-jumbotron center-block" style="width: 800px">
    <h1>修改产品信息</h1>
</div>
<div class="panel-body center-block" style="width: 800px">
    <form method="post" novalidate enctype="multipart/form-data">
        {% csrf_token %}
        {% for field in form_add %}

        <div class="form-group">
            <label>{{ field.label }}</label>
            {{ field }}
            <span class="error_msg">{{ field.errors.0 }}</span>
        </div>

        {% endfor %}

        <button type="submit" class="btn btn-primary">提交</button>
        <a class="btn btn-default" href="{% url 'manage_item_price' %}">取 消</a>
    </form>

</div>








{% endblock %}

{% block content_bottom %}

{% endblock %}